package hu.bme.mit.mdsd.csipetcsapat.appstore.core;

import java.util.List;

/*
 * Implementation of ApplicationCollection Collection containing Application elements 
 */
public class ApplicationCollection {
	private List<Application> containment;
	
	/*
	 * Getter
	 */
	public List<Application> getCollection() {
		return this.containment;
	}
	
	/*
	 * Setter
	 */
	public void setCollection(List<Application> newContainment) {
		this.containment = newContainment;
	}
	
	/*
 	 * Add Application object to containment
	 */
	public void add(Application newObject) {
		this.containment.add(newObject);
	}
	
	/*
	 * Remove Application from containment
	 */
	public void remove(Application oldObject) {
		this.containment.remove(oldObject);
	}
}
